/****************************************************************************
** Player project V1.0
** main.cpp
**
** Copyright (C) 2008 Skander Jabouzi (Skander Software Solutions).
** Contact: skander@skanderjabouzi.com or jabouzi@gmail.com
**
** This file is part of the Player open source software.
**
** GNU General Public License Usage
** This file may be used under the terms of the GNU
** General Public License versions 2.0 or 3.0 as published by the Free
** Software Foundation and appearing in the file LICENSE.GPL included in
** the packaging of this file.  Please review the following information
** to ensure GNU General Public Licensing requirements will be met:
** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
** http://www.gnu.org/copyleft/gpl.html.  In addition, as a special
** exception, Nokia gives you certain additional rights. These rights
** are described in the Nokia Qt GPL Exception version 1.3, included in
** the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/

#include <QApplication>
#include "player.h"
#include <iostream>

using namespace::std;
//
int main(int argc, char ** argv)
{
	//cout << argc << endl;
	//QStringList list;	
	//for (int i = 1; i < argc - 1; i++){
		 //list.insert(i,argv[i]);		
		 //cout << argv[i] << endl;
	//}	
	//for (int i = 0; i < list.size(); i++){			
		 //cout << list.at(i).toLatin1().data() << endl;
	//}	
	//cout << list.size() << endl;
	//cout << argv[argc - 1] << endl;
	QApplication app( argc, argv );		
	Player win;		
	//win.setAudio(list);
	//win.setLabel(argv[argc - 1]);
	win.show(); 
	//win.autoPlay();
	app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
	return app.exec();
	//return 0;
}
